package com.tcd.mapper;

import com.tcd.pojo.Claims;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 理算表 Mapper 接口
 * </p>
 *
 * @author space
 * @since 2021-05-27
 */
public interface ClaimsMapper extends BaseMapper<Claims> {
    Claims selectClaimsById(Integer claimsId);

    List<Claims> selectClaims(@Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize, @Param("claimsNumber") Integer claimsNumber, @Param("warrantyId") Integer warrantyId, @Param("claimsType") String claimsType, @Param("state") String state);

    Integer selectClaimsCount(@Param("claimsNumber") Integer claimsNumber, @Param("warrantyId") Integer warrantyId, @Param("claimsType") String claimsType, @Param("state") String state);
}
